var ioc = {
    ods : {
        type : "com.alibaba.druid.pool.DruidDataSource",
        fields : {
            driverClassName : "org.postgresql.Driver",
            url : "jdbc:postgresql://47.108.177.23:11345/postgres",
            username : "postgres",
            password : "skynet@zzpt",
            maxWait : 15000,
            initialSize : 10,
            maxActive : 50,
            validationQuery : "select 1",
            testOnReturn : true,
            testOnBorrow : true,
            testWhileIdle : true
        },
        events : {
            depose : "close"
        }
    },
    dao: {
        type: "org.nutz.dao.impl.NutDao",
        args: [{
            refer: "ods"
        }],
        singleton: false
    },
    conf : {
        type : "org.nutz.ioc.impl.PropertiesProxy",
        fields : {
            paths : ["application.properties"]
        }
    },
    AlipayClient : {
        type :'com.alipay.api.DefaultAlipayClient',
        args : [{java :"$conf.get('alipay.gateway_url')"},
            {java :"$conf.get('alipay.app_id')"},
            {java :"$conf.get('alipay.app_private_key')"},
            {java :"$conf.get('alipay.format')"},
            {java :"$conf.get('alipay.charset')"},
            {java :"$conf.get('alipay.alipay_public_key')"},
            {java :"$conf.get('alipay.sign_type')"}]
    }
}